package com.cloud.api.upms.enums;

import com.cloud.common.core.result.RespEnum;
import lombok.Getter;

/**
 * Author:  xuanning
 * Date:    2023/2/2 16:18
 */
@Getter
public enum MenuExceptionEnum implements RespEnum {

    MENUNAME_EXIST("1301","名称已存在，不能重复添加"),
    LEAF_EXIST("1302","存在子菜单"),
    MENU_NOT_EXIST("1303","菜单不存在"),


    ;
    private String code;
    private String msg;

    MenuExceptionEnum(String code, String msg){
        this.code=code;
        this.msg=msg;
    }
}
